package com.xyht.sca_s.student_manage_system.modules.carUseReturn.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_car_use_return_application_detail")
@ApiModel(value="SmsCarUseReturnApplicationDetail对象", description="")
public class SmsCarUseReturnApplicationDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "申请表id")
    private String applicationId;

    @ApiModelProperty(value = "流程节点id")
    private String processId;

    @ApiModelProperty(value = "节点名")
    private String processName;

    @ApiModelProperty(value = "流程对象id，角色id或个人id")
    private String processObjectId;

    @ApiModelProperty(value = "流程对象类型1个人，2角色")
    private Integer processObjectType;

    @ApiModelProperty(value = "是否签名：0不签名，1签名")
    private Boolean processIsSign;

    @ApiModelProperty(value = "是否盖章：0不盖章，1盖章")
    private Boolean processIsStamp;

    @ApiModelProperty(value = "审批排序")
    private Integer detailSort;

    @ApiModelProperty(value = "审批人id")
    private String detailAllowUserId;

    @ApiModelProperty(value = "审批状态0审批中，1通过，2驳回，3撤销")
    private Integer detailAllowStatus;

    @ApiModelProperty(value = "审批时间")
    private Date detailAllowTime;

    @ApiModelProperty(value = "审批意见")
    private String detailAllowOption;

    private String detailAllowSign;

    private String detailAllowStamp;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "是否可编辑 0：不可编辑1可编辑")
    private Integer processIsApplicationEdit;


}
